package com.starlink.model.request;

import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Map;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城书籍RAS编码请求模型")
public class MallBooksRasRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("书籍ID")
    private Long mallBooksId;
    @ApiModelProperty("RAS书籍编码")
    private String rasCode;
    @ApiModelProperty("RAS书籍URL")
    private String rasUrl;
    @ApiModelProperty("是否售出 0未售出 1已售出")
    private Integer isSell;

    @ApiModelProperty("RAS商品ID")
    private Long rasGoodsId;
    @ApiModelProperty("商品规格ID")
    private Long specificationId;

    @ApiModelProperty("RAS书籍编码与URL批量录入 rasCode:rasUrl")
    private Map<String,String> rasMap;
}
